$(function() {
    topbanner.init();

    bottombanner.init();
});

var topbanner = {
    init: function() {
        this.swiper = new Swiper('.d-top-banner', {
            loop: true,
            autoplay: 4000,
            autoplayDisableOnInteraction: false
        })
    }
}

var bottombanner = {
    init: function() {
        this.swiper = new Swiper('.d-bottom-banner', {
            loop: true,
            autoplay: 5000,
            autoplayDisableOnInteraction: false
        });
    }
}
